
<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
  <meta name="description" content="">
  <meta name="author" content="">
  <link rel="icon" href="__ROOT__/static/favicon.ico">

  <title>用户登录</title>

  <!-- Bootstrap core CSS -->
  <link href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">

  <!-- Custom styles for this template -->
  <link href="__ROOT__/static/signin.css" rel="stylesheet">
  <script type="text/javascript" src='__ROOT__/static/jquery-1.7.2.min.js'></script>    
  <script type="text/javascript" src='__ROOT__/static/login.js'></script>
  <script type="text/javascript">
  var verifyurl="{:U('home/admin/verify/','','')}";
  </script>    

  <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
  <!--[if lt IE 9]><script src="__ROOT__/Public/assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
  

  <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
      <![endif]-->
    </head>

    <body>

      <div class="container">

        <form class="form-signin" method="POST" action='{:u("home/admin/handle",'','')}'>
          <h2 class="form-signin-heading">请登录</h2>
          <input type="email" name="inputEmail" class="form-control" placeholder="电子邮件地址" required autofocus>
          <input type="password" name="inputPassword" class="form-control" placeholder="密码" required>
          <input type="text" name="verifycode" class="form-control" placeholder="校验码" required><img src="{:U('home/admin/verify/','','')}" id="code"><a href="javascript: void(change_code(this))">看不清</a>
          <div class="checkbox">
            <label>
              <input type="checkbox" value="remember-me">记住
            </label>
          </div>
          <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
        </form>

      </div> <!-- /container -->

<script type="text/javascript">
    window.onload=change_code;
</script>
      <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->

    </body>
    </html>
